import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user/user'
import monthCard from '@/store/modules/car/monthCard/monthCard'
import area from '@/store/modules/car/area/area'
import building from '@/store/modules/park/building/building'
import cost from '@/store/modules/propety/cost'
import enterprise from '@/store/modules/park/enterprise/enterprise'
import manage from '@/store/modules/rod/manage/manage'
import warnList from '@/store/modules/rod/warnList/warnList'
import employee from '@/store/modules/system/employee/employee'
import role from '@/store/modules/system/role/role'
import menus from '@/store/modules/menus/menus'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    monthCard,
    area,
    building,
    cost,
    enterprise,
    manage,
    warnList,
    employee,
    role,
    menus

  },
  getters
})

export default store
